﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using ThangNM_LIB.EO;

namespace EntityObject
{
	[Serializable()]
    public class FileEO : SEOEO
	{
        public Int32 PK_iFileID { get; set; }
        public Int16 FK_iCategoryID { get; set; }
        public Int32 FK_iAccountID { get; set; }
        public String FK_sFileID { get; set; }
        public String sName { get; set; }
        public String sEmbed { get; set; }
        public String sSize { get; set; }
        public String sHomepage { get; set; }
        public String sLinkDownload { get; set; }
        public Int32 iQuantityDownload { get; set; }
        public Int16 iState { get; set; }
        public Boolean bAdvertise { get; set; }
	}

    //[Serializable()]
    //public class FileExEO
    //{
    //    public String sTag { get; set; }
    //    //public String sRecommend { get; set; }
    //    public List<sLinkEO> lstLink { get; set; }
    //}

    [Serializable()]
    public class sLinkEO
    {
        public Int16 PK_iLinkID { get; set; }
        public String sLink { get; set; }
        public String sLinkAds { get; set; }
        public Int16 iServer { get; set; }
        public Boolean bStatus { get; set; }
    }
}